package com.xs.xsaishuaan.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 题库题目
 *
 * @author lambor
 */
@TableName(value ="question_bank_question")
@Data
public class QuestionBankQuestion implements Serializable {

    /** id **/
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 题库 id **/
    private Long questionBankId;

    /** 题目 id **/
    private Long questionId;

    /** 创建用户 id **/
    private Long userId;

    /** 创建时间 **/
    private Date createTime;

    /** 更新时间 **/
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}